<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <h3>{$Think.lang.general.title}</h3>
    <form name="cpform" method="post" action="__URL__/general">
    <input type="hidden" name="op" value="save" />
    <table class="tb tb2">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.site_name}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="site_name" value="{$rs.site_name}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.site_url}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="site_url" value="{$rs.site_url}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.site_logo}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="site_logo" value="{$rs.site_logo}" type="text" class="txt" /></td>
            <td class="vtop tips2">{$Think.lang.general.site_logo_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.default_lang}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:select name="default_lang" options="langOptions" selected="langSelected" />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.default_theme}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:select name="default_theme" options="themeOptions" selected="themeSelected" />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.default_timezone}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:select name="default_timezone" options="timezoneOptions" selected="timezoneSelected" />
            </td>
            <td class="vtop tips2">{$Think.lang.general.default_timezone_explain}</td>
        </tr>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.default_dateformat}</td></tr>
        <tr>
            <td class="vtop rowform">
                <select name="default_dateformat">
                    <volist name="dateformatOptions" id="vo">
                    <option value="{$vo}" <eq name="vo" value="{$dateformatSelected}">selected</eq>>{$vo|date}</option>
                    </volist>
                </select>
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.site_disable}</td></tr>
        <tr>
            <td class="vtop rowform">
            	<html:radio name="site_disable" radios="siteDisableRadios" checked="siteDisableChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.general.site_disable_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.general.site_disable_msg}</td></tr>
        <tr>
            <td class="vtop rowform">
            	<textarea onkeyup="textareasize(this)" name="site_disable_msg" cols="50" rows="6" class="tarea">{$rs.site_disable_msg}</textarea>
            </td>
            <td class="vtop tips2">{$Think.lang.general.site_disable_msg_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="15"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
